<html>
<head>
<meta charset="utf-8" />
<title>Reference #1 for bug #1043537</title>
<style>
div {
  width: 200px;
  height: 200px;
  background: yellow;
}

div:before {
  content: '';
  background: hotpink;
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
}
</style>
</head>
<body>
  <div></div>
</body>
</html>
